<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <title>Title</title>
</head>
<body>

<h3>学生基本信息管理-学生信息修改</h3>

<form th:action="@{/updateByPrimaryKeySelective}" th:object="${list}" method**="post" >
        <input type="hidden" th:field="*{stuId}">
   姓名
         <input type="text" th:field="*{stuName}" /><br>
   手机号
        <input type="text" th:field="*{mobile}" /><br>

    性别
    <select name="sex">
        <option value="F">女</option>
        <option value="M">男</option>
    </select><br>



    年龄
      <input type="text" th:field="*{age}" /><br>

    身份类型
            <select name="idType">

                <option value="1">身份证</option>
                <option value="2">军官证</option>
                <option value="3">港澳台通行证</option>
            </select><br>


    身份证号
         <input type="text" th:field="*{idNum}" /><br>

   籍贯(三级联动已经去除)
 <!--<select name= "provincesId">
        <th:each var= "pro" items="${allPro}">
            <option value="${pro.provinceid}">${pro.province}</option>
            <c:if test="${list.provincesId == pro.provinceid}">
                <option value="${pro.provinceid}" selected="selected">${pro.province}</option>
            </c:if>
        </th:each>
    </select>


    <select name= "citiesId">
        <c:forEach var= "citi" items="${allCiti}">
            <option value="${citi.cityid}">${citi.city}</option>
            <c:if test="${list.citiesId == citi.cityid}">
                <option value="${citi.cityid}" selected="selected">${citi.city}</option>
            </c:if>
        </c:forEach>
    </select>


    <select name= "areasId">
        <c:forEach var= "are" items="${allAre}">
            <c:if test="${list.areasId == are.areaid}">
                <option value="${are.areaid}" selected="selected">${are.area}</option>
            </c:if>
            <option value="${are.areaid}">${are.area}</option>
        </c:forEach>
    </select>
    <br>-->

         <input type="text" th:field="*{detailAddr}" /><br>
    <br>


    <input type="submit" value="确认修改">


</form>




</body>
</html>
